package club.ruanx.movie.controller.param;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.Email;

/**
 * @author 阮胜
 * @date 2019/2/15 14:45
 */
@Data
public class RegUserParam {
    @Length(min = 4, max = 15)
    private String username;

    @Length(min = 4, max = 36)
    private String password;

    @Email
    private String email;
}
